<%@page pageEncoding="UTF-8" %>
<%@taglib uri="http://wasf.cb.com/tag" prefix="wasf" %>
<%@page import="com.cb.web.wasf.sample.web.LoginState" %>
<wasf:useTemplate name="template/centeredContent.jsp" title="Connection" centeredElementId="connexionBloc">
    <wasf:defineFragment name="body">
        <wasf:bloc id="connexionBloc" title="Connexion" width="24em">
            <wasf:form id="loginForm">
                <table cellpadding="0" cellspacing="0">
                    <tr>
                        <td><label for="login"><span>* </span>Identifiant</label></td>
                        <td><input type="text" id="login" name="login" value="${state.login}"/></td>
                    </tr>
                    <tr>
                        <td><label for="password"><span>* </span>Mot de passe</label></td>
                        <td><input type="text" id="password" name="password" value="${state.password}"/></td>
                    </tr>
                </table>
                <div style="text-align: right"><wasf:submitButton id="submitButton" caption="Valider" event="login"/></div>
            </wasf:form>
            <em>* Champs obligatoires</em>
        </wasf:bloc>
    </wasf:defineFragment>
</wasf:useTemplate>